﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using University.Workshop.Model;
using University.Workshop.DataAccess;

namespace University.Workshop.Business
{
  public static class OperationRoomManager
    {
      public static void OperationRoomRegister(OperationRoom operationRoom)
      {
          if (!OperationRoomDataAccess.OperationRoomRegister(operationRoom))
              throw new InvalidOperationException("The operation Room is registered");
      }
    }
}
